package com.ytktt.study.week9.task3.rpcfx.client.transport;

import com.ytktt.study.week9.task3.rpcfx.api.RpcfxRequest;
import com.ytktt.study.week9.task3.rpcfx.api.RpcfxResponse;

/**
 * Rpc数据传输
 *
 * @author ytk
 */
public interface RpcfxTransport {

    RpcfxResponse transport(RpcfxRequest req, String url, Class<?> returnType) throws Exception;

    void clear();
}
